package net.thxjj.adminServer.dao;

import net.thxjj.adminServer.entity.StaticBean;
import net.thxjj.adminServer.entity.aep.LoginData;
import net.thxjj.adminServer.entity.aep.ProfileLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProfileDao {
    void insertSingleInfo(ProfileLog log);
    void saveProfileLogs(List<ProfileLog> list);

    ProfileLog getSmokeStatus(@Param("device_id")String device_id);
    List<ProfileLog> getAlllogs(@Param("device_id")String device_id);

    List<ProfileLog> getProfileLogsByTime(@Param("device_id")String device_id,@Param("start_time")long start_time,@Param("end_time")long end_time);

    StaticBean getSmokeValueStatic(@Param("device_id")String device_id,@Param("start_time")long start_time,@Param("end_time")long end_time);

    StaticBean getBatteryValueStatic(@Param("device_id")String device_id,@Param("start_time")long start_time,@Param("end_time")long end_time);

    StaticBean getSnrStatic(@Param("device_id")String device_id,@Param("start_time")long start_time,@Param("end_time")long end_time);

    StaticBean getRsrpStatic(@Param("device_id")String device_id,@Param("start_time")long start_time,@Param("end_time")long end_time);

    StaticBean getTempStatic(@Param("device_id")String device_id,@Param("start_time")long start_time,@Param("end_time")long end_time);

    StaticBean getCsqStatic(@Param("device_id")String device_id,@Param("start_time")long start_time,@Param("end_time")long end_time);


    List<ProfileLog> getAllProfileLog();

}
